import com.hankcs.hanlp.HanLP;
import com.hankcs.hanlp.seg.common.Term;

import java.util.List;

public class Fenci_Hanlp 
{
	public static String FenciProcess(String content)
	{

		StringBuilder resultBuilder = new StringBuilder();
		List<Term> termList = HanLP.segment(content);
		for(Term term:termList){
			if(!StopWords.contains(term.word)){
				resultBuilder.append(term.word+" ");
			} 
		}
		return resultBuilder.toString();
	}
}
